.goods-header {
  width: 100%;
  margin: 0 auto;
  background: #fb303f;
  display: flex;
  justify-content: a;
  align-items: center;
  align-content: center;
  padding: .5rem 0;

  span {
    color: #fff;

    &:nth-of-type(1) {
      font-size: 2rem;
      margin-left: .5rem;
    }

    &:nth-of-type(2) {
      margin-left: 1.3rem;
      font-size: 1.6rem;
    }
  }

  .goods-search {
    width: 70%;
    display: flex;
    justify-content: flex-start;
    background: #fff;
    border-radius: 5px;
    padding: .3rem 0;
    margin-left: 1rem;
    border-radius: 20px;

    span {
      font-size: 1.5rem;
      color: #8c8c8c;
      margin-left: 1rem;
    }

    input {
      background: #fff;
      border: none;
      outline: none;
      color: #666;
      height: 1rem;
      width: 80%;

      &::placeholder {
        color: #8c8c8c;
        font-size: .8rem;
      }
    }
  }
}

.goods-box {
  width: 100%;
  position: relative;

  .goods-bannerbox {
    width: 100%;
    height: 2.5rem;
    background: #fb303f;
  }

  .goods-bannerbox2 {
    width: 100%;
    height: 5.5rem;
    background: #fff;

    .goods-bannerbox3 {
      width: 100%;
      height: 4rem;
      background: url(./goods-bannerbox3.png) no-repeat;
      background-size: 100%;
    }
  }

  .goods-banner {
    width: 90%;
    position: absolute;
    height: 7.6rem;
    width: 100%;
    z-index: 200px;
    top: .5rem;

    .mint-swipe-items-wrap {
      padding-bottom: 1rem !important;

      .mint-swipe-item {
        width: 100%;
        background: transparent !important;
        text-align: center;

        img {
          height: 100%;
          width: 94%;
          border-radius: 5px;
          border: none;
        }
      }
    }
  }
}

/* navbar */
.navbar {
  width: 100%;
  background: #fff;
  padding: 1rem 0;
}

.navbar ul {
  width: 94%;
  margin: 0 auto !important;
  display: flex;
  justify-content: space-around;
  align-items: center;
  align-content: center;
  background: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, .05);
  padding: 10px 0;
  border-radius: 5px;
}

.navbar ul li {
  width: 15%;
}

.navbar ul li dl {
  width: 100%;
  height: 100%;
}

.navbar ul li dl dt {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: top;
}

.navbar ul li dl dt a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.navbar ul li dl dt a img {
  width: 100%;
}

.navbar ul li:nth-child(1) dl dt a {
  box-shadow: 0 5px 10px rgba(20, 179, 253, 0.2);
}

.navbar ul li:nth-child(2) dl dt a {
  box-shadow: 0 5px 10px rgba(28, 241, 124, 0.2);
  position: relative;
}

.navbar ul li:nth-child(3) dl dt a {
  box-shadow: 0 5px 10px rgba(192, 5, 192, 0.2);
}

.navbar ul li:nth-child(4) dl dt a {
  box-shadow: 0 5px 10px rgba(243, 42, 7, 0.2);
}

.navbar ul li:nth-child(5) dl dt a {
  box-shadow: 0 5px 10px rgba(245, 160, 3, 0.2);
}

.navbar ul li dl dt a img {
  width: 100%;
}

.navbar ul li dl dd {
  text-align: center;
  color: #313131;
  font-size: .8rem;
}

// 秒杀
.miaoshabox {
  background: #fff;
  width: 100%;


  .miaosha {
    width: 94%;
    margin: 0 auto;


    .miaosha-body {
      width: 100%;

      ul {
        display: flex;
        justify-content: space-between;

        li {
          width: 32%;

          .miaosha-body-img {
            border-radius: 5px;
            background: #ebebeb;
            text-align: center;
            width: 100%;
            height: 9rem;
          }

          dl {
            padding: 8px 0;
            dt {
              width: 100%;
              font-size: .9rem;
              color: #1e1e1e;

              display: -webkit-box;
              -webkit-box-orient: vertical;
              -webkit-line-clamp: 2;
              overflow: hidden;
            }
            dd{
              font-size: 1rem;
              padding-top: 10px;
              color: #fb303f;
              font-weight: bold;
              del{
                color: #999;
                font-weight: normal;
                font-size: .5rem;
                margin-left: .5rem;
              }
            }
          }
        }
      }
    }
  }
}

.miaosha-title {
  display: flex;
  justify-content: space-between;
   padding-bottom: 16px;
   padding-top: 10px;
  .miaosha-title-left {
    display: flex;
    justify-content: flex-start;
    align-content: center;
    align-items: center;

    h1 {

      font-size: 1.4rem;
      margin: 0;
      padding-right: .5rem;
    }

    ul {
      display: flex;
      justify-content: flex-start;
      margin-left: 15px;

      li {
        padding: 0px 4px;
        border-radius: 4px;

        &:nth-child(2n+1) {
          background: #fb303f;
          color: #fff;
          font-size: .4rem;
        }
      }
    }
  }

  .miaosha-title-right {
    display: flex;
    justify-content: flex-start;

    a {
      font-size: .6rem;
      color: rgb(53, 52, 52);
    }

    span {
      font-size: 2rem !important;
      color: #666;
    }
  }
}
.jianxuanbox{
  width: 100%;
  background: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
  .jianxuan{
    width: 94%;
    margin: 0 auto;
    ul{
      img{
        width: 100%;
      }
    }
  }
}

.shiyonglist{
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  .shiyongimg{
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 30%;
    background: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
  }
  ul{
    width: 65%;
    li{
     width: 100%;
     margin-bottom: 10px;
     display: -webkit-box;
     -webkit-box-orient: vertical;
     -webkit-line-clamp:2;
     overflow: hidden;
      &:nth-child(1){
        font-size:1rem;
        color: #222222;
       
      }
      &:nth-child(2){
        display: flex;
        justify-content: flex-start;
        align-content: center;
        align-items: center;
        a{
          font-size: 14px;
          margin-right: 10px;
          color: #999;
          span{
            &:nth-of-type(1){
              font-size:1rem;
              color: #333 ;
            }         
          }
          &:nth-child(2){
            span{
              color: #fb303f !important;
              font-size:18px;
              font-weight: bold !important;
            }
           
          }
        }

      }
      &:nth-child(3){
    
        span{
          font-size: 14px;
          color: #fff;
          padding: 3px 8px;
          border-radius: 4px;
          background: #fb303f;
          box-shadow: rgba(192, 5, 192, 0.2) 1px 0 5px;
        }
      }
    }
  }
}



// 猜你喜欢
.cainixihuanbox{
  width: 100%;
  padding-bottom: 30px;
  .cainixihuan{
    width: 94%;
    margin: 0 auto;
    .title{
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 15px 0; 
    span{
        img{
          width: 14px;
          margin-top: 5px;
        }
      }
      h2{
       font-size: 18px;
       padding: 0 15px;
      }
    }
  }
}





